package com.lingxu.module.info.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lingxu.base.system.fileManage.entity.SysFileInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 信息发布
 * @Author: 李德宁
 * @Date:   2023-06-14
 * @Version: V1.0.1
 */
@Data
@TableName("T_INFO_RELEASE")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="T_INFO_RELEASE对象", description="信息发布")
public class InfoRelease implements Serializable{
    
	/**主键ID*/
	@TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**标题*/
    @ApiModelProperty(value = "标题")
	private String topic;
	/**类型*/
    @ApiModelProperty(value = "类型")
	private String type;
	/**内容详情*/
    @ApiModelProperty(value = "内容详情")
	private String detail;
	/**发布人*/
    @ApiModelProperty(value = "发布人")
	private String createby;
	/**发布人名称*/
    @ApiModelProperty(value = "发布人名称")
	private String createname;
	/**发布时间*/
    @ApiModelProperty(value = "发布时间")
	private String createtime;
	/**发布地区*/
    @ApiModelProperty(value = "发布地区")
	private String area;
	/**发布地区*/
	@ApiModelProperty(value = "发布地区编码")
	private String region;
	/**发布状态*/
    @ApiModelProperty(value = "发布状态")
	private String status;
	/**栏目类型*/
	@ApiModelProperty(value = "栏目类型")
	private String columntype;
	/**图片路径*/
	@ApiModelProperty(value = "图片路径")
	private String photo;

	/**是否发布到主页*/
	@ApiModelProperty(value = "是否发布到主页")
	private String isHomeIndex;

	/**文件地址*/
	@ApiModelProperty(value = "文件地址")
	private String filePath;


	@TableField(exist = false)
	private List<SysFileInfo> fileInfoList;
}
